package com.letian.record.service;

import java.util.List;
import com.letian.record.domain.RecordDrink;

/**
 * 饮用记录Service接口
 * 
 * @author bmz
 * @date 2023-07-13
 */
public interface IRecordDrinkService 
{
    /**
     * 查询饮用记录
     * 
     * @param drinkId 饮用记录主键
     * @return 饮用记录
     */
    public RecordDrink selectRecordDrinkByDrinkId(Long drinkId);

    /**
     * 查询饮用记录列表
     * 
     * @param recordDrink 饮用记录
     * @return 饮用记录集合
     */
    public List<RecordDrink> selectRecordDrinkList(RecordDrink recordDrink);

    /**
     * 查询饮用记录列表
     *
     * @param recordDrink 饮用记录
     * @return 饮用记录集合
     */
    public List<RecordDrink> selectRecordDrinkListToday(RecordDrink recordDrink);

    /**
     * 新增饮用记录
     * 
     * @param recordDrink 饮用记录
     * @return 结果
     */
    public int insertRecordDrink(RecordDrink recordDrink);

    /**
     * 修改饮用记录
     * 
     * @param recordDrink 饮用记录
     * @return 结果
     */
    public int updateRecordDrink(RecordDrink recordDrink);

    /**
     * 批量删除饮用记录
     * 
     * @param drinkIds 需要删除的饮用记录主键集合
     * @return 结果
     */
    public int deleteRecordDrinkByDrinkIds(Long[] drinkIds);

    /**
     * 删除饮用记录信息
     * 
     * @param drinkId 饮用记录主键
     * @return 结果
     */
    public int deleteRecordDrinkByDrinkId(Long drinkId);
}
